package com.teamit.service;

import java.util.List;

import com.teamit.dao.ProjectDao;
import com.teamit.entity.Project;

public class ProjectService {
	ProjectDao projectDao=new ProjectDao();
	public List<Project> findProject(String employeeId){
		return projectDao.findProjectByEmployeeId(employeeId);
	}
	public void save(Project project){
		projectDao.save(project);
	}
	public Project findProjectByEmployeeId(String employeeId,String projectId){
		return projectDao.findByEmployeeId(employeeId,projectId);
	}
}
